#Use the g++ compiler by default
CC=g++

#The required compiler flags
#CFLAGS=

#The required libraries
#LIBS=

ERASE=\rm -rf

OBJECTS=CommonDef.o ConfigFile.o FDK.o
EXEC=~/linux/bin/FDK

FDK: ${OBJECTS}
	${CC} -O3 ${OBJECTS} -o ${EXEC} -lippsmerged -lippmmerged

FDK.o: FDK.cpp FDK.h ../Common/ConfigFile.h ../Common/CommonDef.h
	${CC} -c -g -O3 FDK.cpp

CommonDef.o: ../Common/CommonDef.cpp ../Common/CommonDef.h
	${CC} -c -g -O3 ../Common/CommonDef.cpp

ConfigFile.o: ../Common/ConfigFile.cpp ../Common/ConfigFile.h
	${CC} -c -g -O3 ../Common/ConfigFile.cpp

clean:  
	${ERASE} *.o

